Skip to content

Nirali reports collapse change#5178

Open
Nirali164 wants to merge 3 commits intodevelopmentfrom
nirali-reports-collapse-change
Open

Nirali reports collapse change#5178
Nirali164 wants to merge 3 commits intodevelopmentfrom
nirali-reports-collapse-change

Conversation

@Nirali164
Copy link
Copy Markdown

Description

Adjust the responsive behavior of the Reports > Reports > People page to prevent premature layout collapse on larger screens when used in half-screen mode. The current implementation appears optimized for smaller laptop viewports, causing the UI to collapse too early on wider displays such as a Mac Studio monitor. This impacts usability when working in split-screen mode, especially for tasks requiring screenshots (e.g., work confirmation letters). The goal is to refine the breakpoint logic without altering the overall page structure or design.

Fixes # (bug list priority medium x.x.x)

Related PRS (if any):

  • PR3802
  • PR3737 (previous attempt closed due to major layout changes; this PR focuses on minimal adjustments only)

Main changes explained:

  • Updated responsive breakpoints to delay layout collapse on wider screens
  • Modified flex/container behavior to maintain side-by-side layout in half-screen mode
  • Replaced rigid width constraints with flexible sizing (flex-based adjustments)
  • Ensured no structural or visual redesign of the existing layout

How to test:

  1. Check into the current branch
  2. Run npm install and start the project locally
  3. Clear site data/cache
  4. Log in as admin user
  5. Navigate to Reports → Reports → People (or click “R” icon on any profile / via Dashboard → Tasks tab)
  6. Resize the browser to half-screen on a large monitor
  7. Verify the layout does not collapse prematurely and remains usable for screenshots
  8. Compare behavior with the provided video reference
  9. Verify layout consistency in dark mode

Screenshots or videos of changes:

Screenshot 2026-04-21 at 11 08 36 AM
  • Refer to the provided video for expected behavior alignment

Note:

This PR intentionally avoids major layout changes (as seen in PR3737) and focuses only on improving responsiveness for larger screen environments while preserving the existing UI structure.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 3a41c85
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69e793180342ee0008702ba8
😎 Deploy Preview https://deploy-preview-5178--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant